<template>
  <div class="methods">
    <div>
      实例：<button @click="handleClick">判断移动端是否安卓</button> {{ isAnd }}
    </div>
  </div>
</template>
<script>
import { isAndroid } from "@/common/common";
export default {
  data() {
    return {
      isAnd: "",
    };
  },
  methods: {
    handleClick() {
      const isAnd = isAndroid();
      this.isAnd = isAnd;
    },
  },
};
</script>


